package rozdzial_8.zagadkowyBasen;

/**
 * Author: Mariola
 * Date: 24.08.13
 */

public class Of76 {
    public static void main(String[] args) {
        Nos[] i = new Nos[3];
        i[0] = new Akty();
        i[1] = new Klaun();
        i[2] = new Picasso() {
        };

        for (int x = 0; x < 3; x++){
            System.out.println(i[x].iMetoda() + " " + i[x].getClass());
        }
    }
}
